Skip to content

Conversation

@w3bdesign
Copy link
Owner

@w3bdesign w3bdesign commented Jan 16, 2025

Fixes #1391

Update the Navbar component to use responsive Tailwind classes for mobile and desktop layouts.

  • Remove the useIsMobile hook import from src/components/Header/Navbar.component.tsx.
  • Replace the conditional rendering in Navbar with responsive Tailwind classes.
  • Delete the src/utils/hooks/useIsMobile.ts file.

For more details, open the Copilot Workspace session.

Fixes #1391

Update the `Navbar` component to use responsive Tailwind classes for mobile and desktop layouts.

* Remove the `useIsMobile` hook import from `src/components/Header/Navbar.component.tsx`.
* Replace the conditional rendering in `Navbar` with responsive Tailwind classes.
* Delete the `src/utils/hooks/useIsMobile.ts` file.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/w3bdesign/nextjs-woocommerce/issues/1391?shareId=XXXX-XXXX-XXXX-XXXX).
@vercel
Copy link

vercel bot commented Jan 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextjs-woocommerce ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2025 6:25am

@sonarqubecloud
Copy link

@w3bdesign w3bdesign merged commit cb125fd into master Jan 16, 2025
8 checks passed
@w3bdesign w3bdesign deleted the fix-mobile-header branch January 16, 2025 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mobile header

2 participants